﻿@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>


@using (Html.BeginForm())
{
<input type="text" name="Param[0].Key" value="Key 1" />
<input type="text" name="Param[0].Value" value="Value 1" />    
<br />
<input type="text" name="Param[1].Key" value="Key 2" />
<input type="text" name="Param[1].Value" value="Value 2" />    
<br />
<input type="text" name="Param[2].Key" value="Key 3" />
<input type="text" name="Param[2].Value" value="Value 3" /> 
    <input type="submit" value="Submit" />  
}